package cn.iocoder.yudao.module.alipay.controller.admin.cpsactivity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * cps活动 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class CpsActivityBaseVO {

    @Schema(description = "活动编号")
    private String activeCode;

    @Schema(description = "活动名称")
    private String activeTitle;

    @Schema(description = "分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8118")
    @NotNull(message = "分类id不能为空")
    private Long typeId;

    @Schema(description = "活动图片")
    private String activeImg;

    @Schema(description = "活动id", requiredMode = Schema.RequiredMode.REQUIRED, example = "333")
    @NotNull(message = "活动id不能为空")
    private String activityId;

    @Schema(description = "推广位id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28506")
    @NotNull(message = "推广位id不能为空")
    private String promotionId;

    @Schema(description = "佣金费率")
    private String commissionRate;

    @Schema(description = "结算时间")
    private String settlementTime;

    @Schema(description = "结算周期")
    private String settlementCycle;

    @Schema(description = "活动时间")
    private String activityTime;

    @Schema(description = "活动说明")
    private String activityDesc;

    @Schema(description = "归因逻辑")
    private String attributionLogic;

    @Schema(description = "注意事项")
    private String note;

    @Schema(description = "显示排序")
    private Integer sort;

    @Schema(description = "备注", example = "随便")
    private String remark;

}
